﻿//using System.Globalization;
//using System.IO;
//using System.Text;

//namespace Z.GenerateIconProject.WinForm
//{
//    public partial class IconLibraryHelper
//    {
//        public static string GetIncludeExtensionsText(ProjectConfig project)
//        {
//            var sb = new StringBuilder();

//            foreach (IconConfig item in project.IconConfigs)
//            {
//                sb.Append(GetIncludeExtensionsText(project, item));
//            }

//            return sb.ToString();
//        }

//        public static string GetIncludeExtensionsText(ProjectConfig project, IconConfig config)
//        {
//            const string template = @"    <Compile Include=""ExtensionMethods\@(Model.DestinationName)\Icon.GetWebResourceUrl.cs"" />
//    <Compile Include=""ExtensionMethods\@(Model.DestinationName)\Icon.GetBitmap.cs"" />
//    <Compile Include=""ExtensionMethods\@(Model.DestinationName)\Icon.GetStream.cs"" />
//	<Compile Include=""ExtensionMethods\@(Model.DestinationName)\Icon.GetIcon.cs"" />
//    <Compile Include=""ExtensionMethods\@(Model.DestinationName)\Icon.GetImage.cs"" />
//    <Compile Include=""ExtensionMethods\@(Model.DestinationName)\Icon.GetCssClass.cs"" />
//    <Compile Include=""ExtensionMethods\@(Model.DestinationName)\Icon.GetUrl.cs"" />";

//            return template.Replace("@(Model.DestinationName)", config.DestinationName);
//        }
//    }
//}